<?php
require_once ('httpUtil.php');
if(HttpUtil::request_isPostMethod()){
    echo HttpUtil::request_getQueryString('username');
}else{
    echo '<html>';
    echo '<body>';
    echo '<form method="POST">';
    echo '<input type="text" name="username"/>';
    echo '<input type="password" name="password"/>';
    echo '</form>';
    echo '</body>';
    echo '</html>';
}
echo $_SERVER['REQUEST_METHOD'];
?>